package com.kunbo.cn.entity.core.purchase;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import lombok.Data;

@Entity
@Table(name="db_business_purchase_amount_of_modulation_history")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
@EntityListeners(AuditingEntityListener.class)
@Data
public class AmountOfModulationHistory implements Serializable{/** serialVersionUID*/
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(generator = "jpa-uuid")
    @Column(length = 32)
	private String id;//主键uuid
	
	@CreatedDate
    private Date createTime;//创建时间
    @LastModifiedDate
    private Date lastModifiedTime;//修改时间
    
    private String aomOrder;//调量单号
    private String materialType;//物料类型
    private String material;//物料
    private String eavState;//审核状态
    private Boolean quantuty;//数量
    private String handlePerson;//调整人
    private String remark;//备注

}
